package com.mc.read.dao.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BookauditExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BookauditExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andBookinauditidIsNull() {
            addCriterion("bookinauditid is null");
            return (Criteria) this;
        }

        public Criteria andBookinauditidIsNotNull() {
            addCriterion("bookinauditid is not null");
            return (Criteria) this;
        }

        public Criteria andBookinauditidEqualTo(Integer value) {
            addCriterion("bookinauditid =", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidNotEqualTo(Integer value) {
            addCriterion("bookinauditid <>", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidGreaterThan(Integer value) {
            addCriterion("bookinauditid >", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidGreaterThanOrEqualTo(Integer value) {
            addCriterion("bookinauditid >=", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidLessThan(Integer value) {
            addCriterion("bookinauditid <", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidLessThanOrEqualTo(Integer value) {
            addCriterion("bookinauditid <=", value, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidIn(List<Integer> values) {
            addCriterion("bookinauditid in", values, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidNotIn(List<Integer> values) {
            addCriterion("bookinauditid not in", values, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidBetween(Integer value1, Integer value2) {
            addCriterion("bookinauditid between", value1, value2, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBookinauditidNotBetween(Integer value1, Integer value2) {
            addCriterion("bookinauditid not between", value1, value2, "bookinauditid");
            return (Criteria) this;
        }

        public Criteria andBooknameIsNull() {
            addCriterion("bookname is null");
            return (Criteria) this;
        }

        public Criteria andBooknameIsNotNull() {
            addCriterion("bookname is not null");
            return (Criteria) this;
        }

        public Criteria andBooknameEqualTo(String value) {
            addCriterion("bookname =", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameNotEqualTo(String value) {
            addCriterion("bookname <>", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameGreaterThan(String value) {
            addCriterion("bookname >", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameGreaterThanOrEqualTo(String value) {
            addCriterion("bookname >=", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameLessThan(String value) {
            addCriterion("bookname <", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameLessThanOrEqualTo(String value) {
            addCriterion("bookname <=", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameLike(String value) {
            addCriterion("bookname like", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameNotLike(String value) {
            addCriterion("bookname not like", value, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameIn(List<String> values) {
            addCriterion("bookname in", values, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameNotIn(List<String> values) {
            addCriterion("bookname not in", values, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameBetween(String value1, String value2) {
            addCriterion("bookname between", value1, value2, "bookname");
            return (Criteria) this;
        }

        public Criteria andBooknameNotBetween(String value1, String value2) {
            addCriterion("bookname not between", value1, value2, "bookname");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNull() {
            addCriterion("author is null");
            return (Criteria) this;
        }

        public Criteria andAuthorIsNotNull() {
            addCriterion("author is not null");
            return (Criteria) this;
        }

        public Criteria andAuthorEqualTo(String value) {
            addCriterion("author =", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotEqualTo(String value) {
            addCriterion("author <>", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThan(String value) {
            addCriterion("author >", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorGreaterThanOrEqualTo(String value) {
            addCriterion("author >=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThan(String value) {
            addCriterion("author <", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLessThanOrEqualTo(String value) {
            addCriterion("author <=", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorLike(String value) {
            addCriterion("author like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotLike(String value) {
            addCriterion("author not like", value, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorIn(List<String> values) {
            addCriterion("author in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotIn(List<String> values) {
            addCriterion("author not in", values, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorBetween(String value1, String value2) {
            addCriterion("author between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andAuthorNotBetween(String value1, String value2) {
            addCriterion("author not between", value1, value2, "author");
            return (Criteria) this;
        }

        public Criteria andCoverurlIsNull() {
            addCriterion("coverUrl is null");
            return (Criteria) this;
        }

        public Criteria andCoverurlIsNotNull() {
            addCriterion("coverUrl is not null");
            return (Criteria) this;
        }

        public Criteria andCoverurlEqualTo(String value) {
            addCriterion("coverUrl =", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotEqualTo(String value) {
            addCriterion("coverUrl <>", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlGreaterThan(String value) {
            addCriterion("coverUrl >", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlGreaterThanOrEqualTo(String value) {
            addCriterion("coverUrl >=", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLessThan(String value) {
            addCriterion("coverUrl <", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLessThanOrEqualTo(String value) {
            addCriterion("coverUrl <=", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlLike(String value) {
            addCriterion("coverUrl like", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotLike(String value) {
            addCriterion("coverUrl not like", value, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlIn(List<String> values) {
            addCriterion("coverUrl in", values, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotIn(List<String> values) {
            addCriterion("coverUrl not in", values, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlBetween(String value1, String value2) {
            addCriterion("coverUrl between", value1, value2, "coverurl");
            return (Criteria) this;
        }

        public Criteria andCoverurlNotBetween(String value1, String value2) {
            addCriterion("coverUrl not between", value1, value2, "coverurl");
            return (Criteria) this;
        }

        public Criteria andBookurlIsNull() {
            addCriterion("bookUrl is null");
            return (Criteria) this;
        }

        public Criteria andBookurlIsNotNull() {
            addCriterion("bookUrl is not null");
            return (Criteria) this;
        }

        public Criteria andBookurlEqualTo(String value) {
            addCriterion("bookUrl =", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlNotEqualTo(String value) {
            addCriterion("bookUrl <>", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlGreaterThan(String value) {
            addCriterion("bookUrl >", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlGreaterThanOrEqualTo(String value) {
            addCriterion("bookUrl >=", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlLessThan(String value) {
            addCriterion("bookUrl <", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlLessThanOrEqualTo(String value) {
            addCriterion("bookUrl <=", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlLike(String value) {
            addCriterion("bookUrl like", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlNotLike(String value) {
            addCriterion("bookUrl not like", value, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlIn(List<String> values) {
            addCriterion("bookUrl in", values, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlNotIn(List<String> values) {
            addCriterion("bookUrl not in", values, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlBetween(String value1, String value2) {
            addCriterion("bookUrl between", value1, value2, "bookurl");
            return (Criteria) this;
        }

        public Criteria andBookurlNotBetween(String value1, String value2) {
            addCriterion("bookUrl not between", value1, value2, "bookurl");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNull() {
            addCriterion("introduction is null");
            return (Criteria) this;
        }

        public Criteria andIntroductionIsNotNull() {
            addCriterion("introduction is not null");
            return (Criteria) this;
        }

        public Criteria andIntroductionEqualTo(String value) {
            addCriterion("introduction =", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotEqualTo(String value) {
            addCriterion("introduction <>", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThan(String value) {
            addCriterion("introduction >", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionGreaterThanOrEqualTo(String value) {
            addCriterion("introduction >=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThan(String value) {
            addCriterion("introduction <", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLessThanOrEqualTo(String value) {
            addCriterion("introduction <=", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionLike(String value) {
            addCriterion("introduction like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotLike(String value) {
            addCriterion("introduction not like", value, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionIn(List<String> values) {
            addCriterion("introduction in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotIn(List<String> values) {
            addCriterion("introduction not in", values, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionBetween(String value1, String value2) {
            addCriterion("introduction between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andIntroductionNotBetween(String value1, String value2) {
            addCriterion("introduction not between", value1, value2, "introduction");
            return (Criteria) this;
        }

        public Criteria andMainlevelidIsNull() {
            addCriterion("mainLevelId is null");
            return (Criteria) this;
        }

        public Criteria andMainlevelidIsNotNull() {
            addCriterion("mainLevelId is not null");
            return (Criteria) this;
        }

        public Criteria andMainlevelidEqualTo(Integer value) {
            addCriterion("mainLevelId =", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidNotEqualTo(Integer value) {
            addCriterion("mainLevelId <>", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidGreaterThan(Integer value) {
            addCriterion("mainLevelId >", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidGreaterThanOrEqualTo(Integer value) {
            addCriterion("mainLevelId >=", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidLessThan(Integer value) {
            addCriterion("mainLevelId <", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidLessThanOrEqualTo(Integer value) {
            addCriterion("mainLevelId <=", value, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidIn(List<Integer> values) {
            addCriterion("mainLevelId in", values, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidNotIn(List<Integer> values) {
            addCriterion("mainLevelId not in", values, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidBetween(Integer value1, Integer value2) {
            addCriterion("mainLevelId between", value1, value2, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelidNotBetween(Integer value1, Integer value2) {
            addCriterion("mainLevelId not between", value1, value2, "mainlevelid");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameIsNull() {
            addCriterion("mainLevelName is null");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameIsNotNull() {
            addCriterion("mainLevelName is not null");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameEqualTo(String value) {
            addCriterion("mainLevelName =", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameNotEqualTo(String value) {
            addCriterion("mainLevelName <>", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameGreaterThan(String value) {
            addCriterion("mainLevelName >", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameGreaterThanOrEqualTo(String value) {
            addCriterion("mainLevelName >=", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameLessThan(String value) {
            addCriterion("mainLevelName <", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameLessThanOrEqualTo(String value) {
            addCriterion("mainLevelName <=", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameLike(String value) {
            addCriterion("mainLevelName like", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameNotLike(String value) {
            addCriterion("mainLevelName not like", value, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameIn(List<String> values) {
            addCriterion("mainLevelName in", values, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameNotIn(List<String> values) {
            addCriterion("mainLevelName not in", values, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameBetween(String value1, String value2) {
            addCriterion("mainLevelName between", value1, value2, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andMainlevelnameNotBetween(String value1, String value2) {
            addCriterion("mainLevelName not between", value1, value2, "mainlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidIsNull() {
            addCriterion("secondLevelId is null");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidIsNotNull() {
            addCriterion("secondLevelId is not null");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidEqualTo(Integer value) {
            addCriterion("secondLevelId =", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidNotEqualTo(Integer value) {
            addCriterion("secondLevelId <>", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidGreaterThan(Integer value) {
            addCriterion("secondLevelId >", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidGreaterThanOrEqualTo(Integer value) {
            addCriterion("secondLevelId >=", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidLessThan(Integer value) {
            addCriterion("secondLevelId <", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidLessThanOrEqualTo(Integer value) {
            addCriterion("secondLevelId <=", value, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidIn(List<Integer> values) {
            addCriterion("secondLevelId in", values, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidNotIn(List<Integer> values) {
            addCriterion("secondLevelId not in", values, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidBetween(Integer value1, Integer value2) {
            addCriterion("secondLevelId between", value1, value2, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelidNotBetween(Integer value1, Integer value2) {
            addCriterion("secondLevelId not between", value1, value2, "secondlevelid");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameIsNull() {
            addCriterion("secondLevelName is null");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameIsNotNull() {
            addCriterion("secondLevelName is not null");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameEqualTo(String value) {
            addCriterion("secondLevelName =", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameNotEqualTo(String value) {
            addCriterion("secondLevelName <>", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameGreaterThan(String value) {
            addCriterion("secondLevelName >", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameGreaterThanOrEqualTo(String value) {
            addCriterion("secondLevelName >=", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameLessThan(String value) {
            addCriterion("secondLevelName <", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameLessThanOrEqualTo(String value) {
            addCriterion("secondLevelName <=", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameLike(String value) {
            addCriterion("secondLevelName like", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameNotLike(String value) {
            addCriterion("secondLevelName not like", value, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameIn(List<String> values) {
            addCriterion("secondLevelName in", values, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameNotIn(List<String> values) {
            addCriterion("secondLevelName not in", values, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameBetween(String value1, String value2) {
            addCriterion("secondLevelName between", value1, value2, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andSecondlevelnameNotBetween(String value1, String value2) {
            addCriterion("secondLevelName not between", value1, value2, "secondlevelname");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNull() {
            addCriterion("createdate is null");
            return (Criteria) this;
        }

        public Criteria andCreatedateIsNotNull() {
            addCriterion("createdate is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedateEqualTo(Date value) {
            addCriterion("createdate =", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotEqualTo(Date value) {
            addCriterion("createdate <>", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThan(Date value) {
            addCriterion("createdate >", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateGreaterThanOrEqualTo(Date value) {
            addCriterion("createdate >=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThan(Date value) {
            addCriterion("createdate <", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateLessThanOrEqualTo(Date value) {
            addCriterion("createdate <=", value, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateIn(List<Date> values) {
            addCriterion("createdate in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotIn(List<Date> values) {
            addCriterion("createdate not in", values, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateBetween(Date value1, Date value2) {
            addCriterion("createdate between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreatedateNotBetween(Date value1, Date value2) {
            addCriterion("createdate not between", value1, value2, "createdate");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNull() {
            addCriterion("createuserid is null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIsNotNull() {
            addCriterion("createuserid is not null");
            return (Criteria) this;
        }

        public Criteria andCreateuseridEqualTo(Integer value) {
            addCriterion("createuserid =", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotEqualTo(Integer value) {
            addCriterion("createuserid <>", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThan(Integer value) {
            addCriterion("createuserid >", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("createuserid >=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThan(Integer value) {
            addCriterion("createuserid <", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridLessThanOrEqualTo(Integer value) {
            addCriterion("createuserid <=", value, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridIn(List<Integer> values) {
            addCriterion("createuserid in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotIn(List<Integer> values) {
            addCriterion("createuserid not in", values, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridBetween(Integer value1, Integer value2) {
            addCriterion("createuserid between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateuseridNotBetween(Integer value1, Integer value2) {
            addCriterion("createuserid not between", value1, value2, "createuserid");
            return (Criteria) this;
        }

        public Criteria andCreateusernameIsNull() {
            addCriterion("createusername is null");
            return (Criteria) this;
        }

        public Criteria andCreateusernameIsNotNull() {
            addCriterion("createusername is not null");
            return (Criteria) this;
        }

        public Criteria andCreateusernameEqualTo(String value) {
            addCriterion("createusername =", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameNotEqualTo(String value) {
            addCriterion("createusername <>", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameGreaterThan(String value) {
            addCriterion("createusername >", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameGreaterThanOrEqualTo(String value) {
            addCriterion("createusername >=", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameLessThan(String value) {
            addCriterion("createusername <", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameLessThanOrEqualTo(String value) {
            addCriterion("createusername <=", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameLike(String value) {
            addCriterion("createusername like", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameNotLike(String value) {
            addCriterion("createusername not like", value, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameIn(List<String> values) {
            addCriterion("createusername in", values, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameNotIn(List<String> values) {
            addCriterion("createusername not in", values, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameBetween(String value1, String value2) {
            addCriterion("createusername between", value1, value2, "createusername");
            return (Criteria) this;
        }

        public Criteria andCreateusernameNotBetween(String value1, String value2) {
            addCriterion("createusername not between", value1, value2, "createusername");
            return (Criteria) this;
        }

        public Criteria andDeletemarkIsNull() {
            addCriterion("deletemark is null");
            return (Criteria) this;
        }

        public Criteria andDeletemarkIsNotNull() {
            addCriterion("deletemark is not null");
            return (Criteria) this;
        }

        public Criteria andDeletemarkEqualTo(Integer value) {
            addCriterion("deletemark =", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkNotEqualTo(Integer value) {
            addCriterion("deletemark <>", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkGreaterThan(Integer value) {
            addCriterion("deletemark >", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkGreaterThanOrEqualTo(Integer value) {
            addCriterion("deletemark >=", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkLessThan(Integer value) {
            addCriterion("deletemark <", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkLessThanOrEqualTo(Integer value) {
            addCriterion("deletemark <=", value, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkIn(List<Integer> values) {
            addCriterion("deletemark in", values, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkNotIn(List<Integer> values) {
            addCriterion("deletemark not in", values, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkBetween(Integer value1, Integer value2) {
            addCriterion("deletemark between", value1, value2, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeletemarkNotBetween(Integer value1, Integer value2) {
            addCriterion("deletemark not between", value1, value2, "deletemark");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridIsNull() {
            addCriterion("deleteuserid is null");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridIsNotNull() {
            addCriterion("deleteuserid is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridEqualTo(Integer value) {
            addCriterion("deleteuserid =", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridNotEqualTo(Integer value) {
            addCriterion("deleteuserid <>", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridGreaterThan(Integer value) {
            addCriterion("deleteuserid >", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("deleteuserid >=", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridLessThan(Integer value) {
            addCriterion("deleteuserid <", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridLessThanOrEqualTo(Integer value) {
            addCriterion("deleteuserid <=", value, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridIn(List<Integer> values) {
            addCriterion("deleteuserid in", values, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridNotIn(List<Integer> values) {
            addCriterion("deleteuserid not in", values, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridBetween(Integer value1, Integer value2) {
            addCriterion("deleteuserid between", value1, value2, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteuseridNotBetween(Integer value1, Integer value2) {
            addCriterion("deleteuserid not between", value1, value2, "deleteuserid");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameIsNull() {
            addCriterion("deleteusername is null");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameIsNotNull() {
            addCriterion("deleteusername is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameEqualTo(String value) {
            addCriterion("deleteusername =", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameNotEqualTo(String value) {
            addCriterion("deleteusername <>", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameGreaterThan(String value) {
            addCriterion("deleteusername >", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameGreaterThanOrEqualTo(String value) {
            addCriterion("deleteusername >=", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameLessThan(String value) {
            addCriterion("deleteusername <", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameLessThanOrEqualTo(String value) {
            addCriterion("deleteusername <=", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameLike(String value) {
            addCriterion("deleteusername like", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameNotLike(String value) {
            addCriterion("deleteusername not like", value, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameIn(List<String> values) {
            addCriterion("deleteusername in", values, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameNotIn(List<String> values) {
            addCriterion("deleteusername not in", values, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameBetween(String value1, String value2) {
            addCriterion("deleteusername between", value1, value2, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeleteusernameNotBetween(String value1, String value2) {
            addCriterion("deleteusername not between", value1, value2, "deleteusername");
            return (Criteria) this;
        }

        public Criteria andDeletedateIsNull() {
            addCriterion("deletedate is null");
            return (Criteria) this;
        }

        public Criteria andDeletedateIsNotNull() {
            addCriterion("deletedate is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedateEqualTo(Date value) {
            addCriterion("deletedate =", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateNotEqualTo(Date value) {
            addCriterion("deletedate <>", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateGreaterThan(Date value) {
            addCriterion("deletedate >", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateGreaterThanOrEqualTo(Date value) {
            addCriterion("deletedate >=", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateLessThan(Date value) {
            addCriterion("deletedate <", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateLessThanOrEqualTo(Date value) {
            addCriterion("deletedate <=", value, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateIn(List<Date> values) {
            addCriterion("deletedate in", values, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateNotIn(List<Date> values) {
            addCriterion("deletedate not in", values, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateBetween(Date value1, Date value2) {
            addCriterion("deletedate between", value1, value2, "deletedate");
            return (Criteria) this;
        }

        public Criteria andDeletedateNotBetween(Date value1, Date value2) {
            addCriterion("deletedate not between", value1, value2, "deletedate");
            return (Criteria) this;
        }

        public Criteria andAudituseridIsNull() {
            addCriterion("audituserid is null");
            return (Criteria) this;
        }

        public Criteria andAudituseridIsNotNull() {
            addCriterion("audituserid is not null");
            return (Criteria) this;
        }

        public Criteria andAudituseridEqualTo(Integer value) {
            addCriterion("audituserid =", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridNotEqualTo(Integer value) {
            addCriterion("audituserid <>", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridGreaterThan(Integer value) {
            addCriterion("audituserid >", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("audituserid >=", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridLessThan(Integer value) {
            addCriterion("audituserid <", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridLessThanOrEqualTo(Integer value) {
            addCriterion("audituserid <=", value, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridIn(List<Integer> values) {
            addCriterion("audituserid in", values, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridNotIn(List<Integer> values) {
            addCriterion("audituserid not in", values, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridBetween(Integer value1, Integer value2) {
            addCriterion("audituserid between", value1, value2, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAudituseridNotBetween(Integer value1, Integer value2) {
            addCriterion("audituserid not between", value1, value2, "audituserid");
            return (Criteria) this;
        }

        public Criteria andAuditusernameIsNull() {
            addCriterion("auditusername is null");
            return (Criteria) this;
        }

        public Criteria andAuditusernameIsNotNull() {
            addCriterion("auditusername is not null");
            return (Criteria) this;
        }

        public Criteria andAuditusernameEqualTo(String value) {
            addCriterion("auditusername =", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameNotEqualTo(String value) {
            addCriterion("auditusername <>", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameGreaterThan(String value) {
            addCriterion("auditusername >", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameGreaterThanOrEqualTo(String value) {
            addCriterion("auditusername >=", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameLessThan(String value) {
            addCriterion("auditusername <", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameLessThanOrEqualTo(String value) {
            addCriterion("auditusername <=", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameLike(String value) {
            addCriterion("auditusername like", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameNotLike(String value) {
            addCriterion("auditusername not like", value, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameIn(List<String> values) {
            addCriterion("auditusername in", values, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameNotIn(List<String> values) {
            addCriterion("auditusername not in", values, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameBetween(String value1, String value2) {
            addCriterion("auditusername between", value1, value2, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditusernameNotBetween(String value1, String value2) {
            addCriterion("auditusername not between", value1, value2, "auditusername");
            return (Criteria) this;
        }

        public Criteria andAuditdateIsNull() {
            addCriterion("auditdate is null");
            return (Criteria) this;
        }

        public Criteria andAuditdateIsNotNull() {
            addCriterion("auditdate is not null");
            return (Criteria) this;
        }

        public Criteria andAuditdateEqualTo(Date value) {
            addCriterion("auditdate =", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateNotEqualTo(Date value) {
            addCriterion("auditdate <>", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateGreaterThan(Date value) {
            addCriterion("auditdate >", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateGreaterThanOrEqualTo(Date value) {
            addCriterion("auditdate >=", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateLessThan(Date value) {
            addCriterion("auditdate <", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateLessThanOrEqualTo(Date value) {
            addCriterion("auditdate <=", value, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateIn(List<Date> values) {
            addCriterion("auditdate in", values, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateNotIn(List<Date> values) {
            addCriterion("auditdate not in", values, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateBetween(Date value1, Date value2) {
            addCriterion("auditdate between", value1, value2, "auditdate");
            return (Criteria) this;
        }

        public Criteria andAuditdateNotBetween(Date value1, Date value2) {
            addCriterion("auditdate not between", value1, value2, "auditdate");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andLabelnameIsNull() {
            addCriterion("labelname is null");
            return (Criteria) this;
        }

        public Criteria andLabelnameIsNotNull() {
            addCriterion("labelname is not null");
            return (Criteria) this;
        }

        public Criteria andLabelnameEqualTo(String value) {
            addCriterion("labelname =", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameNotEqualTo(String value) {
            addCriterion("labelname <>", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameGreaterThan(String value) {
            addCriterion("labelname >", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameGreaterThanOrEqualTo(String value) {
            addCriterion("labelname >=", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameLessThan(String value) {
            addCriterion("labelname <", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameLessThanOrEqualTo(String value) {
            addCriterion("labelname <=", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameLike(String value) {
            addCriterion("labelname like", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameNotLike(String value) {
            addCriterion("labelname not like", value, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameIn(List<String> values) {
            addCriterion("labelname in", values, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameNotIn(List<String> values) {
            addCriterion("labelname not in", values, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameBetween(String value1, String value2) {
            addCriterion("labelname between", value1, value2, "labelname");
            return (Criteria) this;
        }

        public Criteria andLabelnameNotBetween(String value1, String value2) {
            addCriterion("labelname not between", value1, value2, "labelname");
            return (Criteria) this;
        }

        public Criteria andNopasstxtIsNull() {
            addCriterion("noPassTxt is null");
            return (Criteria) this;
        }

        public Criteria andNopasstxtIsNotNull() {
            addCriterion("noPassTxt is not null");
            return (Criteria) this;
        }

        public Criteria andNopasstxtEqualTo(String value) {
            addCriterion("noPassTxt =", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtNotEqualTo(String value) {
            addCriterion("noPassTxt <>", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtGreaterThan(String value) {
            addCriterion("noPassTxt >", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtGreaterThanOrEqualTo(String value) {
            addCriterion("noPassTxt >=", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtLessThan(String value) {
            addCriterion("noPassTxt <", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtLessThanOrEqualTo(String value) {
            addCriterion("noPassTxt <=", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtLike(String value) {
            addCriterion("noPassTxt like", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtNotLike(String value) {
            addCriterion("noPassTxt not like", value, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtIn(List<String> values) {
            addCriterion("noPassTxt in", values, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtNotIn(List<String> values) {
            addCriterion("noPassTxt not in", values, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtBetween(String value1, String value2) {
            addCriterion("noPassTxt between", value1, value2, "nopasstxt");
            return (Criteria) this;
        }

        public Criteria andNopasstxtNotBetween(String value1, String value2) {
            addCriterion("noPassTxt not between", value1, value2, "nopasstxt");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}